package com.lc.YYGH.model.office;


import com.lc.YYGH.model.base.BaseMongoEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@ApiModel(description = "LawOffice")
@Document("LawOffice")
public class LawOffice extends BaseMongoEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "事务所编号")
    @Indexed(unique = true) //唯一索引
    private String officecode;

    @ApiModelProperty(value = "事务所名称")
    @Indexed //普通索引
    private String officename;



    @ApiModelProperty(value = "省code")
    private String provinceCode;

    @ApiModelProperty(value = "市code")
    private String cityCode;

    @ApiModelProperty(value = "区code")
    private String districtCode;

    @ApiModelProperty(value = "详情地址")
    private String address;

    @ApiModelProperty(value = "事务所logo")
    private String logoData;

    @ApiModelProperty(value = "事务所简介")
    private String intro;


}
